/**
 * Created with IntelliJ IDEA.
 * User: happyiu
 * Date: 2021-11-29
 * Time: 21:29
 * Description:
 */
class people{
    public String name;
    public int age;
    public short sex;

    public people(String name, int age, short sex) {
        this.name = name;
        this.age = age;
        this.sex = sex;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public short getSex() {
        return sex;
    }

    public void setSex(short sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "people{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", sex=" + sex +
                '}';
    }
}



public class TestDemo {
}
